package jeconbond.automata;

import java.util.ArrayList;
import java.util.List;

public class Node implements INode {
	private String name;
	private List<IOutcome> outcomes = new ArrayList<IOutcome>();

	public Node(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public List<IOutcome> getOutcomes() {
		return outcomes;
	}
	
	public String toString() {
		return name;
	}
}
